Efficient SAT-Encoding of Linear CSP Constraints
نویسندگان
چکیده
Propositional satisfiability solving (SAT) has been considerably successful in numerous industrial applications. Whereas the speed and the capacity of SAT solvers significantly improved in the last two decades, the understanding of SAT encodings is still limited and often challenging. Two wellknown variable encodings, namely the order encoding and the sparse encoding, are the most widely used and successfully applied to translate constraint satisfaction problems (CSPs) to equivalent SAT instances. In this paper we analyze the strengths and drawbacks of these encoding in the context of linear CSP problems and propose a new Sp-Or encoding, based on redundant modeling common in Constraint Programming. We show experimentally that the runtime overhead of the Sp-Or encoding is not significant in the worst case compared to the individual encodings whereas it does outperform them in some of the CSPs. The paper concludes with some guidelines regarding the choice of suitable SAT encodings for CSP problems, taking into account several features of these problems.
منابع مشابه
A Compact and Efficient SAT-Encoding of Finite Domain CSP
Extended Abstract A (finite) Constraint Satisfaction Problem (CSP) is a combinatorial problem to find an assignment which satisfies all given constraints over finite domains. A SAT-based CSP solver is a program which solves a CSP by encoding it to SAT and searching solutions by SAT solvers. Remarkable improvements in the efficiency of SAT solvers make SAT-based CSP solvers applicable for solvin...
متن کاملOn Temporal Planning as CSP
(Appears as a regular paper in the proceedings of IEEE International Conference on Tools with Artificial Intelligence (ICTAI), IEEE Computer Society, Washington D.C. Nov. 2002, pp. 75-82.) Recent advances in constraint satisfaction and heuristic search have made it possible to solve classical planning problems significantly faster. There is an increasing amount of work on extending these advanc...
متن کاملTowards a Compact and Efficient SAT-Encoding of Finite Linear CSP
This paper describes a new SAT encoding method applicable to finite linear CSP, named compact order encoding, which is designed to generate compact (small sized) and also efficient SAT instances. The basic idea of the compact order encoding is the use of a numeric system of base B ≥ 2. Each integer variable is divided into m digits and each digit is encoded by using the order encoding. Therefor...
متن کاملOverlapping Alldiff constraints: SAT versus CSP encoding application to the Sudoku
Constraint satisfaction problems (CSP) or Boolean satisfiability problem (SAT) are two well-known paradigms to model and solve combinatorial problems. Modeling and resolution of CSP is often strengthened by global constraints (e.g., Alldiff constraint). This paper highlights two different ways of handling specific structural information: a uniform propagation framework to handle (interleaved) A...
متن کاملProposal and Evaluation of Hybrid Encoding of CSP to SAT Integrating Order and Log Encodings
This paper proposes a new hybrid encoding of finite linear CSP to SAT which integrates order and log encodings. The former maintains bound consistency by unit propagation and works well for constraints consisting of small/middle sized arity and variable domains. The latter generates smaller CNF and works well for constraints consisting of larger sized arity and variable domains but its performa...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 2014